home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: MegaDisc
/
MegaDisc 27 (1992-03)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).zip
/
MegaDisc 27 (1992-03)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).adf
/
Programming
/
DataMaker
/
DM_doc
/
DM_doc
Wrap
Text File
|
1992-03-30
|
1KB
|
39 lines
----------------------------------------
DataMaker - A program to write a program
----------------------------------------
Just to show that I can do something in BASIC!
This type of program has fascinated me for ages. It is really only a
translator converting a chunk of something from disk into DATA statements.
This program goes a little bit further in that it also includes check sums
at the end of each line and also writes the loader for you so there is
nothing extra required unless you're fussy!
The file Icon.bas is an example DataMaker's output. Use AmigaBasic to
execute it. Click in the input/output window when you are prompted for the
output filename. As it is an icon remember to tack '.info' on the end.
Voila, you have a drawer icon! You still have to use the CLI to make a
directory for it (makedir filename).
One interesting thing here - by default AmigaBasic makes icons for its
files. You will have an icon named filename.info (actually
filename.info.info). Simply delete it using the Workbench in the normal
way.
This particular version of DataMaker is compiled with HiSoft Basic, but it
works just as well from the interpreter.
David M. Balean
44, Wyong Road
Killarney Vale
2261
(( 27 )) (( 27 )) (( 27 )) (( 27 )) (( 27 )) (( 27 )) (( 27 )) (( 27 ))